package com.laixu.bean;

import org.springframework.stereotype.Component;
import java.util.Date;

@Component
public class Logg {
    private Long id;
    private String username;
    private String businessName;
    private String requestUrl;
    private String requestMethod;
    private String operationName;
    private String browserName;
    private String ip;
    private String source;
    private Long spendTime;
    private Date createTime;
    private String paramsJson;  // 对应 params.json
    private String resultJson;  // 对应 result.json
    private String classPath;
    private String methodName;

    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getUsername() { return username; }
    public void setUsername(String username) { this.username = username; }
    public String getBusinessName() { return businessName; }
    public void setBusinessName(String businessName) { this.businessName = businessName; }
    public String getRequestUrl() { return requestUrl; }
    public void setRequestUrl(String requestUrl) { this.requestUrl = requestUrl; }
    public String getRequestMethod() { return requestMethod; }
    public void setRequestMethod(String requestMethod) { this.requestMethod = requestMethod; }
    public String getOperationName() { return operationName; }
    public void setOperationName(String operationName) { this.operationName = operationName; }
    public String getBrowserName() { return browserName; }
    public void setBrowserName(String browserName) { this.browserName = browserName; }
    public String getIp() { return ip; }
    public void setIp(String ip) { this.ip = ip; }
    public String getSource() { return source; }
    public void setSource(String source) { this.source = source; }
    public Long getSpendTime() { return spendTime; }
    public void setSpendTime(Long spendTime) { this.spendTime = spendTime; }
    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
    public String getParamsJson() { return paramsJson; }
    public void setParamsJson(String paramsJson) { this.paramsJson = paramsJson; }
    public String getResultJson() { return resultJson; }
    public void setResultJson(String resultJson) { this.resultJson = resultJson; }
    public String getClassPath() { return classPath; }
    public void setClassPath(String classPath) { this.classPath = classPath; }
    public String getMethodName() { return methodName; }
    public void setMethodName(String methodName) { this.methodName = methodName; }
}